<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-bind用法</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
   <div id="app" v-bind:title="title">
     {{message}}
       <hr>
       v-bind:title可以给元素属性设置值
   </div>
</body>
<script>
    var app =new Vue({
        el:"#app",
        data:{
            message:"hello",
            title:"titleContent",
        },

    });

</script>
</html>